﻿using System.ComponentModel.DataAnnotations;

namespace S.Transplantation.Read.Api.Dto
{
    public class GetTransplantationListDto
    {
        /// <summary>
        /// 后裔转种主键
        /// </summary>
        [Key]
        public int DescendantTransferId { get; set; }

        /// <summary>
        /// 电子耳标
        /// </summary>
        [StringLength(16)]
        public string EarTag { get; set; }

        /// <summary>
        /// 转入栋舍
        /// </summary>
        [StringLength(50)]
        public string ShiftToHuts { get; set; }

        /// <summary>
        /// 转入栏位
        /// </summary>
        [StringLength(50)]
        public string ShiftToBuild { get; set; }

        /// <summary>
        /// 当前栋舍
        /// </summary>
        [StringLength(50)]
        public string TurnOutHuts { get; set; }

        /// <summary>
        /// 当前栏位
        /// </summary>
        [StringLength(50)]
        public string TurnOutBuild { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public bool Sex { get; set; }

        /// <summary>
        /// 转种日期
        /// </summary>
        public DateTime TransferDate { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        [StringLength(50)]
        public string CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        [StringLength(50)]
        public string UpdateBy { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateDate { get; set; }

        /// <summary>
        /// 单据号
        /// </summary>
        [StringLength(50)]
        public string DocumentNumber { get; set; }

        /// <summary>
        /// 流水号
        /// </summary>
        [StringLength(50)]
        public string SerialNumber { get; set; }
    }
}